{% extends "base.html" %}

{% block purchase %} class="active" {% endblock %}

{% block content %}
<div class="panel panel-primary">
    <div class="panel-heading">新增采购订单</div>
    <div class="panel-body">
    <form method="post" >
        {{ form.hidden_tag() }}
        <div class="form-group">
            {{ form.code.label}} {{ form.code(class='form-control') }}
        </div>
        <div class="form-group">
            {{ form.date.label}} {{ form.date(class='form-control') }}
        </div>
        <div class="form-group">
            {{ form.goods.label}} {{ form.goods(class='form-control') }}
        </div>
        <div class="form-group">
            {{ form.univalence.label}} {{ form.univalence(class='form-control') }}
        </div>
        <div class="form-group">
            {{ form.quantity.label}} {{ form.quantity(class='form-control') }}
        </div>
        <div class="form-group">
            {{ form.supplier.label}} {{ form.supplier(class='form-control') }}
        </div>
        <div class="form-group">
            {{ form.pok(class='btn btn-primary')}}
        </div>

    </form>
    </div>
</div>
{% endblock%}
